<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2016/8/23
 * Time: 11:31
 */
?>
<div class="yx-clear">
    <label class="zx-label" style="width: 20% !important"><?= $model->attributeLabels()['status']; ?></label>
    <div class="zx-field-floatl" style="width: 70% !important; line-height: 30px">
        <?php
        switch($model->status){
            case 0:
                echo '用户已提交';
                break;
            case 1:
                echo '审核中';
                break;
            case 2:
                echo '审核通过';
                break;
            case 3:
                echo '申请失败';
        }
        ?>
    </div>
</div>
<div class="yx-clear">
    <label class="zx-label" style="width: 20% !important">处理备注</label>
    <div class="zx-field-floatl" style="width: 70% !important; line-height: 30px">
        <?php
        $str = str_replace(array("\r\n", "\r", "\n"), "<br>", $model->remarks);
        echo $str;
        ?>
    </div>
</div>

<div class="yx-clear">
    <label class="zx-label" style="width: 20% !important">申请时间</label>
    <div class="zx-field-floatl" style="width: 70% !important; line-height: 30px">
        <?= \Yii::$app->formatter->asDatetime($model->created_at);?>
    </div>
</div>

